/*
 * @Description: 公告列表
 * @Author: Zzt
 * @Date: 2023-02-22 09:59:36
 * @LastEditTime: 2023-02-22 10:29:05
 */
import PageContent from './components/PageContent';
import { AnnouncementContextProvider } from './contexts/AnnouncementContext';
import PageLayout from '@/layout/PageLayout';
import ChannelList from './components/ChannelList';

function AnnouncementMain() {
  return (
    <>
      <AnnouncementContextProvider>
        <PageLayout sidebar={<ChannelList />}>
          <PageContent />
        </PageLayout>
      </AnnouncementContextProvider>
    </>
  );
}

export default AnnouncementMain;
